Error while committing to forked repository

I am pushing my commits from one branch to another branch of a forked repository, however I am getting an error of:

warning: invalid credential line: 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
remote: Permission to Yadnik1/zephyr-1.git denied to Yadnik1.
fatal: unable to access ‘’: The requested URL returned error: 403

I tried all approaches from here:github - Pushing to Git returning Error Code 403 fatal: HTTP request failed - Stack Overflow
However I am getting same error.
Can someone please guide me.

Hi @Yadnik1 and welcome! Can it be the case you’re affected by the deprecation of password authentication? You can read more about that here:

If this resolves the issue, please let us know. And if it doesn’t, feel free to post back.

Also, avoid publishing sensitive data on public forums like this. When you paste an error log, you can safely replace sensitive data (user name, passwords, local paths, etc.) with asterisks or placeholders, for these are irrelevant to the error at hand (what counts is the error message and or its error number).

Yes it seems to be an issue with the Token.However I am having issues adding it to my macs keychain access as no entry of internet password showing up.Can you please help.

I’m not a mac user, but this recent thread might help you out with this problem: