-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a new product through the REST API throws internal error #3822
Comments
Any chance we could get an update on this? We're trying to finish out our integration and creating products is a big roadblock. |
I am also running into this issue when attempting to POST a new product. Are there any updates on this issue? |
In case you're still having trouble ... getting rid of any square brackets + specifying a attribute_set_id seems to work: {
"product": {
"attribute_set_id": 4,
"type_id": "simple",
"sku": "B201-SKU",
"name": "B201",
"price": 25,
"status": 1,
"custom_attributes": {
"description": "Heavy Duty Brake Cables",
"meta_description": "Some describing text w00t"
}
}
} |
pdohogne-magento
pushed a commit
that referenced
this issue
Mar 26, 2019
…-xss-fotorama-broken [honey] MC-15033: Configurable product gallery does not prepend images with multiple attributes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Using chrome RestClient extension.
URL: http://domain/magento2/rest/V1/products
Method: POST
Headers:
Payload:
Expected result
Creates part B201.
Actual result
{
"message": "Internal Error. Details are available in Magento log file. Report ID: webapi-56eab1fa2ee25"
}
The text was updated successfully, but these errors were encountered: