Getting error: not authorized to perform: sts:AssumeRole on resource. Was not getting this error before


#1

All of a sudden I am getting this error when connecting to the API. Am not getting this error when testing locally.

How to resolve this error?