I know this question has already been asked. But none of them solve my issue.
I am facing the issue : DecryptException in BaseEncrypter.php line 48: The MAC is invalid.
I checked my .env file there is no space in APP_DEBUG and APP_KEY
Tried to generate new key but nothing worked out.
Laravel Framework version 5.2.45
After surfing for around two hours , tried so many solution form different sources but none of them solved my problem.
There may be reason then .env file have space in APP_DEBUG and APP_KEY key.
By removing the space if exists can solve the problem.
By clearing cache, composer dump-autoload can also be used in some cases.
But in my case the issue was either
DecryptException in BaseEncrypter.php line 48: The MAC is invalid
or
DecryptException in BaseEncrypter.php line 45: The payload is invalid
The issue was because of database column issue.
The column type was varchar
and length was 256
that was creating whole issues. As field mwsAuthToken
has lenght more then filed 256
and was truncating the mwsAuthToken
key value.
Thus by changing the field type to text solved my problem.
Thanks for suggestions.
Firebase Cloud Functions: PubSub, "res.on is not a function"
TypeError: Cannot read properties of undefined (reading 'createMessageComponentCollector')
I want to run report from 8 different combinationEach input can be empty or can be filled with data
I'm trying to implement repositories in my application structure
Implemented progress bar using sessionupload_progress, Worked fine for some days
How can I post a form via PHP Curl and By Pass Google Recaptcha