This is caused by a mismatch in pg_restore and pg_dump versions on the local machine and in the cloud.
Now try to restore again to your v9.6 server.
edit: first of all, you need postgreSQL 9.6
thanks Marlon, i have the same configurations.. but it doesnt work… anything else i am missing ?