Thanks for those last tips.   I’ve now got a test app working in AppEngine using this suggestion https://stackoverflow.com/a/59052809 399 and disabling CORS.
Cloud Run still gives the same error
I’ll attach the Dockerfile and  app.yaml files to the Github issue 133.