C2W2 Assignment: Unable to Locate Mock Credentials / Spotify Authentication Issue Blocking Assignment Submission

I am unable to locate the required “mock-id” and “mock-secret” in the src/env file as mentioned in the instructions. Currently, I have defined the following credentials in my environment file:

CLIENT_ID=<alpha-numeric-value>  
CLIENT_SECRET=<alpha-numeric-value>  
APP_NAME=spotify-app

However, the application is not working as expected due to Spotify API policy restrictions, which seem to prevent successful authentication using these credentials.

I suspect that the assignment expects mock credentials (mock-id and mock-secret) instead of actual Spotify API credentials, but I could not find any reference or location where these mock values are provided.

This issue is currently blocking my ability to complete and submit the assignment. Since today is the last day for submission and course completion, I would appreciate urgent clarification on:

  • Where to find the mock-id and mock-secret

Kindly provide guidance or the correct credentials so I can proceed with the assignment submission before the deadline.

@Priyanka12 Hi! mock-id and mock-secret are the values that you need to add to env file.

@Priyanka12 Also remove your personal credentials from your post, please. It’s not a safe practice - to expose them.

Thank you so much! I was thinking there might be some dummy alphanumeric values for the mock ID and mock secret. But that’s not the case.

Sure, I will remove it.