Forum Discussion

nkm's avatar
nkm
Experienced User
4 years ago
Solved

Bad Message 400 reason: Illegal character SPACE=' '

Hi, I am trying to retrieve the accounts using PHP curl. On Postman, I can use the query filter, but when I do it on my own script, it will return the error: Bad Message 400 reason: Illegal charact...
  • Hannah_B's avatar
    4 years ago

    Hi nkm,

    Thanks for reaching out, The API Team is a technical support team trained to support the AccountRight and Essentials API. We provide support and advice for the API via the use of JSON and HTTP traces however we are not developers so do not know full languages. 

    I have tested this endpoint to ensure there were no issues on the endpoint using `GeneralLedger/Account?$filter = Type eq 'OtherAsset'` which gave a 200 successful responses. 

    I recommend double-checking the format of the filter as that does not look quite right when I decoded this. 

    Thanks,