diff --git a/Flickr4Java/src/com/flickr4java/flickr/REST.java b/Flickr4Java/src/com/flickr4java/flickr/REST.java
index <HASH>..<HASH> 100644
--- a/Flickr4Java/src/com/flickr4java/flickr/REST.java
+++ b/Flickr4Java/src/com/flickr4java/flickr/REST.java
@@ -279,6 +279,9 @@ public class REST extends Transport {
                 if (Flickr.debugStream) {

                     System.out.println(strXml);

                 }

+                if(strXml.startsWith("oauth_problem=")) {

+                    throw new FlickrRuntimeException(strXml);

+                }

                 Document document = builder.parse(new InputSource(new StringReader(strXml)));

                 response = (com.flickr4java.flickr.Response) responseClass.newInstance();

                 response.parse(document);
If there's an OAuth issue, Flickr returns a string, and not an XML. In
the post added a detection for this, to throw an error, rather than
letting it go on. if it goes on then WC3 will throw an error