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
@bogris Thank you for raising the issue with our team. The team will look into the Amplify implementation first to make sure its not a bug that is causing the issue when adding the interceptor before configure.
Describe the bug
in the amplify docs for adding custom headers, the order of operations is wrong:
https://docs.amplify.aws/swift/build-a-backend/data/connect-to-API/
in the current config, the code fails as the defaultGqlAPI is not initialized.
should go after we call the .configure. in that set-up code works as expected.
here is my working version:
Steps To Reproduce
Expected behavior
not throw
Amplify Framework Version
gen2
Amplify Categories
API
Dependency manager
Swift PM
Swift version
idk
CLI version
11.0.1
Xcode version
16.2
Relevant log output
Is this a regression?
No
Regression additional context
No response
Platforms
No response
OS Version
macOs 15.2
Device
Ipad for macos env
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: