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
{{ message }}
Repository navigation
Next.js AppRoute Example: How can we log an error in the middleware #125
exportfunctionmiddleware(request: NextRequest){rollbar.configure({payload: {context: request.nextUrl.pathname}});rollbar.error('error!',(err,response)=>{// insufficient privileges: post_client_item scope is required but the access token only has post_server_item.console.log('error',err,response);});returnNextResponse.next();}
But as commented above, this causes insufficient privileges error.
If I change the server token to a client post token here:
Activity
alexookah commentedon May 10, 2024
I experienced the same problem