getting Status: 400 | integration | The request was syntactically correct but its content is semantically invalid.

sierra2
Mega Expert

please help me to fix this error . what will be the issue ? 

- Status: 400 | Body: {"detailCode":"400.1 Bad request content","trackingId":"5fada64643c24e3597fcf8a7b193716c","messages":[{"locale":"en-US","localeOrigin":"DEFAULT","text":"The request was syntactically correct but its content is semantically invalid."}],"causes":[]} | Error Code: 1 | Error Msg: Method failed: (/beta/accounts/2c9180877f1fbaf1017f2b222178459a) with code: 400

4 REPLIES 4

Vishnu Prasad K
Giga Guru

Hi Sierra,

 

Check the authentication with the credentials

the rest outbound is showing 202 response.

Jorn van Beek
Tera Guru

you dont provide a lot of information to go by....

Im not even sure if it is an incoming or outgoing integration.

but by power of google I found this earlier post.

https://community.servicenow.com/community?id=community_question&sys_id=36eb2c39db5b58d07d3e02d5ca9619ed

Maybe that is of some help

I need to filter the response body using nativeidentity and sourceid at endpoint to get user info

https://iiiiiiiiiiiiiiccccc.com/beta/accounts?filters=nativeIdentity eq "[user_email]"

https://iiiiiiiiiiiiiiccccc.com/beta/accounts?filters=sourceId eq "1234567890" and nativeIdentity eq "example@example.com"

 

please help me with this