CORS error appearing on external API's, the cause of the error is from the datatype of the event not being consistent.