REST execution time exceeded error

miyu
Tera Guru

I executed a POST of the Attachment API at 2:00 on 12/26 using curl.
After the Attachment API is called, the process is to add the CSV to the sys_attachment table and Business Rule adds the CSV data to the u_budget table as a record.
The trigger for the Business Rule is set to "when a CSV with a specific file name is inserted into sys_attachment".
The other day, a CSV containing 8000 data was linked, but only 2800 records were added, and the following REST execution time exceeded error was output to the log.

Exception while executing request: Transaction cancelled: maximum execution time exceeded: com.glide.rest.util.RESTRuntimeException: Exception while executing request: Transaction cancelled: maximum execution time exceeded: 	com.glide.rest.handler.impl.ServiceHandlerImpl.handleInvocationTargetException(ServiceHandlerImpl.java:76)

Why is this error being output?
What is the solution?

1 ACCEPTED SOLUTION

Basheer
Mega Sage

Hi @miyu ,

This error is due to the transaction quota rules set in your instance.

Navigate as below

System Definition > Transaction Quota Rules > REST Attachment API request timeout

 

Here you can increase the quota limit and verify your transactions. It is set to some value by default.

 

Please mark helpful, if my suggestion useful.

Please mark correct, if my suggestion has answered your query.

Please hit like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.

Cheers,
Mohammed Basheer Ahmed.

View solution in original post

1 REPLY 1

Basheer
Mega Sage

Hi @miyu ,

This error is due to the transaction quota rules set in your instance.

Navigate as below

System Definition > Transaction Quota Rules > REST Attachment API request timeout

 

Here you can increase the quota limit and verify your transactions. It is set to some value by default.

 

Please mark helpful, if my suggestion useful.

Please mark correct, if my suggestion has answered your query.

Please hit like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.

Cheers,
Mohammed Basheer Ahmed.