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
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
JavaScript Framework
React
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
None
Environment information
# Put output below this line
Describe the bug
Error at fetchUserAttributes :>> Error: Network error
at fetchTransferHandler (:3000/node_modules/.vite/deps/chunk-OF4A5D2P.js?v=2f1ea17f:9074:13)
at async retryMiddleware (:3000/node_modules/.vite/deps/chunk-OF4A5D2P.js?v=2f1ea17f:8748:20)
at async userAgentMiddleware (:3000/node_modules/.vite/deps/chunk-OF4A5D2P.js?v=2f1ea17f:9024:24)
at async :3000/node_modules/.vite/deps/chunk-OF4A5D2P.js?v=2f1ea17f:9115:22
at async fetchUserAttributes (:3000/node_modules/.vite/deps/chunk-KDJGD37D.js?v=2f1ea17f:6670:30)
at async fetchUserAttributes (:3000/src/services/amplify.js:80:18)
error :>> Error: Network error
at fetchTransferHandler (:3000/node_modules/.vite/deps/chunk-OF4A5D2P.js?v=2f1ea17f:9074:13)
at async retryMiddleware (:3000/node_modules/.vite/deps/chunk-OF4A5D2P.js?v=2f1ea17f:8748:20)
at async userAgentMiddleware (:3000/node_modules/.vite/deps/chunk-OF4A5D2P.js?v=2f1ea17f:9024:24)
at async :3000/node_modules/.vite/deps/chunk-OF4A5D2P.js?v=2f1ea17f:9115:22
at async fetchUserAttributes (:3000/node_modules/.vite/deps/chunk-KDJGD37D.js?v=2f1ea17f:6670:30)
at async fetchUserAttributes (:3000/src/services/amplify.js:80:18)
Hello, @hanoj-budime 👋. The fact that you're getting a network errors makes me wonder if we need more details about what API's are being called and how Auth has been setup. Can you clarify if you experience this same errors for all API's? Are you able to share the fronted code that's calling the Auth API's that are causing this?
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
None
Environment information
Describe the bug
Expected behavior
Update token-saving mechanism
Cookie Storage
https://docs.amplify.aws/react/build-a-backend/auth/concepts/tokens-and-credentials/#update-your-token-saving-mechanism
Reproduction steps
Code Snippet
This code not working for localhost
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: