I've been trying like this and I am getting the error I originally mentioned.
@GET("/api/v3/teams/all_team_listings")
Promise<Object> getMyJoinedTeamsWHeader(@Header("Authorization: Bearer Token") String deviceID, @Header("user") User user);
I have also tried Authorization: Bearer
and just Authorization:
and other variations but the same error always appears.