You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue 1: On refresh on home page result in runpixel failures
Fix: Move the axios interceptor code inside App component instead of placing it out side
And also changed one condition like
Issue 2: runPixel POST call triggered from sdk are failing.
Fix: sdk runpixel function uses fetch intead of axios.
And also from here I see a const CSRF constant set as false, and inside interceptor checking with true condition. So made the condition like if CSRF is enabled && metod == POST && token is empty, we trigger fetch csrf api to get the token and set it.
Similarly, runpixelAsync call directly uses fetch.
So additionally made this changes as well.
by doing the above changes most of the issues are fixed, though we have to give one more round of testing
Activity
Paulson-Robert commentedon May 20, 2025
My findings for this issue is:
Issue 1: On refresh on home page result in runpixel failures
Fix: Move the axios interceptor code inside App component instead of placing it out side
And also changed one condition like
Issue 2: runPixel POST call triggered from sdk are failing.
Fix: sdk runpixel function uses fetch intead of axios.
And also from here I see a const CSRF constant set as false, and inside interceptor checking with true condition. So made the condition like if CSRF is enabled && metod == POST && token is empty, we trigger fetch csrf api to get the token and set it.
Similarly, runpixelAsync call directly uses fetch.
So additionally made this changes as well.
by doing the above changes most of the issues are fixed, though we have to give one more round of testing