Skip to main content
Question

Intermittent 403 issue for timeseries

  • April 9, 2026
  • 2 replies
  • 11 views

Hello,

I am running a function ‘dq_validate_model_integrity’ and ‘dq_validate_broken_references’ which give a 403 unauthorized error for a timeseries intermittently. There has been no change in access or data yet its failing sometimes with a 403 error.

Could you please let us know why this issue is coming up frequently?

PS: I have attached the screenshots of the passed and failed statuses of both functions with the timestamp as well as the logs of both failed functions.

 

Do let me know if there’s any more information required from my end.

 

Thanks alot :)

2 replies

cc: ​@Snehal Jagtap ​@Sonali Vishal Patil  ​@Shivani Mishra 


Michael Bennett
Practitioner
Forum|alt.badge.img

Hi ​@Nikita Chandrashekhar Sawant  Could you please clean your handler.py of any sensitive data and post here? Each log is pointing to the handler.py at different lines. 

04-09T05:35+05:30 : Traceback (most recent call last):
2026-04-09T05:35+05:30 : File "/home/site/wwwroot/function/_cognite_function_entry_point.py", line 665, in run_handle
2026-04-09T05:35+05:30 : result = handle(**function_argument_values)
2026-04-09T05:35+05:30 : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-09T05:35+05:30 : File "/home/site/wwwroot/function/handler.py", line 63, in handle
2026-04-09T05:35+05:30 : total_checked, broken_count = validate_broken_references(client,fetched_views,input_json)

 

 

2026-04-09T05:36+05:30 : Traceback (most recent call last):
2026-04-09T05:36+05:30 : File "/home/site/wwwroot/function/_cognite_function_entry_point.py", line 665, in run_handle
2026-04-09T05:36+05:30 : result = handle(**function_argument_values)
2026-04-09T05:36+05:30 : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-09T05:36+05:30 : File "/home/site/wwwroot/function/handler.py", line 31, in handle
2026-04-09T05:36+05:30 : report, total_checked, broken_count = validate_broken_references(
2026-04-09T05:36+05:30 : ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Regards,

Michael Bennett

Cognite Academy Engineer