From bb55b2731f4704700401af3b801d2decd886a338 Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Tue, 5 Nov 2024 17:44:37 -0500 Subject: [PATCH] Add HTML error payload for invalid location - URL not found (#25) --- .../unary-failure-invalid-location-url-not-found.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mock-responses/unary-failure-invalid-location-url-not-found.html diff --git a/mock-responses/unary-failure-invalid-location-url-not-found.html b/mock-responses/unary-failure-invalid-location-url-not-found.html new file mode 100644 index 0000000..68a91fe --- /dev/null +++ b/mock-responses/unary-failure-invalid-location-url-not-found.html @@ -0,0 +1,11 @@ + + + + + Error 404 (Not Found)!!1 + + +

404. That’s an error. +

The requested URL /v1beta/projects/my-project-id/locations/invalid-location/publishers/google/models/gemini-1.5-flash:generateContent was not found on this server. That’s all we know.