The API documentation for resolution says this:
I believe that should read 8192x8192, rather than 8196x8196.resolution :: Position (optional): Maximum allowed resolution is 16384x16384 (resp. 8196x8196 when anti_alias is true), but maximum recommended resolution is 4096x4096 (resp. 2048x2048).