Post

3 followers Follow
0
Avatar

illegal characters for API

I recently submitted an API call with a file name that included a " â " character and it caused the API call to fail.

What characters are illegal for use in an API call so I can check for them before submission?

Josh Boutwell Answered

Please sign in to leave a comment.

5 comments

0
Avatar

Characters which are not valid in XML are not valid in the API

where did you use this character? An object name? 

Eyal Post 0 votes
Comment actions Permalink
0
Avatar

It was in a file name I was uploading as a shortcut for a new document.

 

Is it limited to the UTF-8 character set?

Josh Boutwell 0 votes
Comment actions Permalink
0
Avatar

Perhaps you can look at:

 

{"errorCode":"Internal","message":"An internal error has occurred, the error was logged and will be examined.","referenceId":"PPKjklDXUgdSIoe8ZAluj"}

 

This is the query that lead to my question.

Josh Boutwell 0 votes
Comment actions Permalink
0
Avatar

I suggest to open a support case since in any case we should not return an Internal Error when this happens.

Eyal Post 0 votes
Comment actions Permalink
0
Avatar

Hi Josh,

Our logs show that ref ID was returned when the post data was "null".

Hope this helps,

Ophir

Ophir Kenig 0 votes
Comment actions Permalink