This error means the string which we are trying to convert to base 64 encoding does not have enough length. More explanation is available at https://stackoverflow.com/questions/12962992/invalid-length-for-a-base-64-char-array-exception.
To fix this error, append '=' character to the string till it becomes divisible by four.
In a SharePoint provider hosted app, this generally means the client secret (or secondary client secret) needs to be appended as above.
To fix this error, append '=' character to the string till it becomes divisible by four.
In a SharePoint provider hosted app, this generally means the client secret (or secondary client secret) needs to be appended as above.
No comments:
Post a Comment