Deweydatar html response error fix?

I ammaking use of the deweydata r package. I initially was trying to pull building permit data, but switched to the advan data to see if the demonstration would work for me.

After following the directions on the package documentation I continually receive this error:

Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".

When querying the api directly everything returns cleanly so I’;m not sure what’s going on. Has anyone else had a similar issue?