Hi I am trying to use SAGE 300 WEB API and getting this error when trying to call APIS
{
"error": {
"code": "InternalServerError",
"message": {
"lang": "en-US",
"value": "Internal Server Error"
}
}
}
If anyone can please assist.
thanks,
Pranit
Hi I am trying to use SAGE 300 WEB API and getting this error when trying to call APIS
{
"error": {
"code": "InternalServerError",
"message": {
"lang": "en-US",
"value": "Internal Server Error"
}
}
}
If anyone can please assist.
thanks,
Pranit
Hello Pranit,
I don't think we have enough detail (information) to come to an answer to this question. Can you provide more detail?
Regards,
DCrampton
Hi ,
We are trying to Integrate one payroll application to SAGE 300 2023 using the web api , when we try and call the api then it gives us this
message Log Message: "Message":"Request failed with status code InternalServerError", { "error": { "code": "InternalServerError", "message": { "lang": "en-US", "value": "Internal Server Error" } } } Integration: Sage300.API Rule: GeneralLedgerJournal Flag: GLJournalBatches.URL.POST
Hi Pranit Bhagat can you please confirm the Swagger UI screen loads properly and you can interact with it before you try an external API call e.g. can you visit https://<yourdomain>/Sage300/WebAPI and see the Swagger UI? Here is a live example of the Swagger UI:
Here is an example of a quick test you can do in the Swagger UI:
Once confirmed the above is working at your site, we can rule out it actually being a server error and focus on your endpoints, firewall, credentials, etc, etc other reaons why you can't call the API. Good luck!
Hi Pranit Bhagat can you please confirm the Swagger UI screen loads properly and you can interact with it before you try an external API call e.g. can you visit https://<yourdomain>/Sage300/WebAPI and see the Swagger UI? Here is a live example of the Swagger UI:
Here is an example of a quick test you can do in the Swagger UI:
Once confirmed the above is working at your site, we can rule out it actually being a server error and focus on your endpoints, firewall, credentials, etc, etc other reaons why you can't call the API. Good luck!
*Community Hub is the new name for Sage City