mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #535] Unable to load user data on AWS Lambda #324
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#324
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexcaulfield on GitHub (Jul 8, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/535
Describe the bug
I'm currently trying to deploy my Flask app using the Serverless framework and AWS Lambda. When the user logs in and is redirected to a frontend page that queries for user data using the returned
codeURL param, the API fails but does not return an error.Your code
Frontend query
Expected behavior
User data is returned via this request
Output
No errors are displayed in CloudWatch or in Serverless
Environment:
Additional context
https://www.serverless.com/blog/flask-python-rest-api-serverless-lambda-dynamodb/
Used this to get started up with Flask/Lambda
@alexcaulfield commented on GitHub (Jul 9, 2020):
I ended up leveraging JWT instead, so no issue here.