send a multipart data via API throws error #26877
Unanswered
erandakodagoda18
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm getting a server 500 error for an endpoint which used to upload json file as multipart form data.
Implementation
JSON File Used to upload
{ "Export" : { "customer" : { "key" : "TEST_AUTOMATION", "name" : "TEST_AUTOMATION", "email" : "[email protected]" } } }
Error I get with 500 Internal server error.
Unexpected token (START_ARRAY), expected START_OBJECT: Current token not START_OBJECT (needed to unwrap root name 'Export'), but START_ARRAY at [Source: (FileInputStream); line: 1, column: 1]
Beta Was this translation helpful? Give feedback.
All reactions