Login API does not work with sandbox App client id

I found that login api does not work with sandboxed api key and api secret. When I used client_id and client_secret corresponding to sandbox . I got the following response:
check your client_id and redirect_uri. something like that.

but when I created a regular app and then used its api key and api secret with my application it worked successfully.

MY question is :
can I access sandbox api endpoints using access token which is generated using regular app’s api key and api secret? Also Is it going to be a problem?

@Aayush_49281423 This might be helpful